<?

/**
 *  this is an abstract class that needs to be implemented by
 *  each of the database drivers.  an instance of this object
 *  should be returned by the drivers "query()" method
 *
 */

class Smutty_Database_Result {

	function Smutty_Database_Result( $res ) {
		new Smutty_Exception( ERR_NOT_IMPLEMENTED, 'ClassSmutty_Database_Result' );
	}

	function fetch() {
		new Smutty_Exception( ERR_NOT_IMPLEMENTED, 'ClassSmutty_Database_Result' );
	}

	function fetchAssoc() {
		new Smutty_Exception( ERR_NOT_IMPLEMENTED, 'ClassSmutty_Database_Result' );
	}

	function fetchObject() {
		new Smutty_Exception( ERR_NOT_IMPLEMENTED, 'ClassSmutty_Database_Result' );
	}

	function toArray() {
		new Smutty_Exception( ERR_NOT_IMPLEMENTED, 'ClassSmutty_Database_Result' );
	}

}

?>